<#include "api_header.ftl">

			
			
			<div><p></p></div>
			
			
			<div class="panel panel-default">
			  <!-- Default panel contents -->
			  <div class="panel-heading"><strong>${groupTitle}</strong></div>
			
			  <!-- Table -->
	        <table class="table table-striped">
	          <thead>
	            <tr>
	            
	               <th>接口名称</th>
	              <th>接口描述</th>
	              <th>版本号</th>
	              <th>超时时间（秒）</th>
	              <th>是否签名</th>
	              <th>是否过期</th>
	            </tr>
	          </thead>
	          <tbody>
<#if api_method?exists>

	            <tr>
	               <td>${api_method.method}</td>
	              <td>${api_method.methodTitle}</td>
	              <td>${api_method.version}</td>
	              <td>${api_method.timeoutSecond}</td>
	              <td>${api_method.ignoreSign?string('true','false')}</td>
	              <td>${api_method.obsoleted?string('true','false')}</td>
	            </tr>

<#else>
	            <tr>
	              <td colspan="6">暂无记录</td>
	            </tr>
</#if>
	          </tbody>
	        </table>
	        
	        <p></p>
			</div>  <!-- /panel -->
			

			<div class="panel panel-default">
			  <!-- Default panel contents -->
			  <div class="panel-heading"><strong>请求参数</strong></div>
			
			  <!-- Table -->
	        <table class="table table-striped">
	          <thead>
	            <tr>
	            
	               <th>名称</th>
	              <th>描述</th>
	              <th>类型</th>
	              <th>是否忽略签名</th>
	              <th>是否过期</th>
	              <th>是否可选</th>
	              
	            </tr>
	          </thead>
	          <tbody>
<#if api_method.request?exists>
<#list api_method.request as request>  
	            <tr>
	               <td>${request.paramName}</td>
	               <td>${request.paramDesc}</td>
	               <td>${request.paramType}</td>
	               <td>${request.ignoreSign?string('true','false')}</td>
	               <td>${request.obsoleted?string('true','false')}</td>
	               <td>${request.optional?string('true','false')}</td>
	            </tr>
</#list>
<#else>
	            <tr>
	              <td colspan="6">暂无记录</td>
	            </tr>
</#if>
	          </tbody>
	        </table>
	        
	        <p></p>
			</div>  <!-- /panel -->
			
			
			
			
			<div class="panel panel-default">
			  <!-- Default panel contents -->
			  <div class="panel-heading"><strong>应答参数</strong></div>
			
			  <!-- Table -->
	        <table class="table table-striped">
	          <thead>
	            <tr>
	            
	               <th>名称</th>
	              <th>描述</th>
	              <th>类型</th>  
	              <th>上级参数</th>
	              <th>层级</th>
	              <th>是否过期</th>
	              
	            </tr>
	          </thead>
	          <tbody>
<#if api_method.response?exists>
<#list api_method.response as response>  
	            <tr>
	               <td>${response.paramName}</td>
	               <td>${response.paramDesc}</td>
	               <td>${response.paramType}</td> 
	               <td>${response.superiorParameters}</td>
	               <td>${response.levels}</td>
	               <td>${response.obsoleted?string('true','false')}</td>
	            </tr>
</#list>
<#else>
	            <tr>
	              <td colspan="6">暂无记录</td>
	            </tr>
</#if>
	          </tbody>
	        </table>
	        
	        <p></p>
			</div>  <!-- /panel -->
			
			
			<h3>应答json格式</h3>

			



<div class="HeadersRow">
  <textarea id="RawJson">
  ${responseParamJson}
  </textarea>
</div>
<div id="ControlsRow">
  <input type="Button" value="格式化" onclick="Process()"/>
  <span id="TabSizeHolder">
    缩进量
    <select id="TabSize" onchange="TabSizeChanged()">
      <option value="1">1</option>
      <option value="2" selected="true">2</option>
      <option value="3">3</option>
      <option value="4">4</option>
      <option value="5">5</option>
      <option value="6">6</option>
    </select>
  </span>
  <label for="QuoteKeys">
    <input type="checkbox" id="QuoteKeys" onclick="QuoteKeysClicked()" checked="true" /> 
    引号
  </label>&nbsp; 
  <a href="javascript:void(0);" onclick="SelectAllClicked()">全选</a>
  &nbsp;
  <span id="CollapsibleViewHolder" >
      <label for="CollapsibleView">
        <input type="checkbox" id="CollapsibleView" onclick="CollapsibleViewClicked()" checked="true" /> 
        显示控制
      </label>
  </span>
  <span id="CollapsibleViewDetail">
    <a href="javascript:void(0);" onclick="ExpandAllClicked()">展开</a>
    <a href="javascript:void(0);" onclick="CollapseAllClicked()">叠起</a>
    <a href="javascript:void(0);" onclick="CollapseLevel(3)">2级</a>
    <a href="javascript:void(0);" onclick="CollapseLevel(4)">3级</a>
    <a href="javascript:void(0);" onclick="CollapseLevel(5)">4级</a>
    <a href="javascript:void(0);" onclick="CollapseLevel(6)">5级</a>
    <a href="javascript:void(0);" onclick="CollapseLevel(7)">6级</a>
    <a href="javascript:void(0);" onclick="CollapseLevel(8)">7级</a>
    <a href="javascript:void(0);" onclick="CollapseLevel(9)">8级</a>
  </span>
</div>
<div id="Canvas" class="Canvas"></div>	
<#include "api_footer.ftl">
